package com.jiangsong.messy;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TestConfig {

    @Bean
    public User getUser() {
        User user = new User();
        user.setDesc("desc1");
        user.setAge("11");
        return user;
    }

    @Bean
    public User getUse1r() {
        User user = new User();
        user.setDesc("desc2");
        user.setAge("22");
        return user;
    }
}
